package cn.tedu.imop.attach.service;

import cn.tedu.imop.api.domain.Attach;
import cn.tedu.imop.attach.pojo.AttachUpdateParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 文件上传接口
 * 
 * @author ruoyi
 */
public interface AttachService
{
    /**
     * 文件上传接口
     * 
     * @param file 上传的文件
     * @return 访问地址
     * @throws Exception
     */
    public String uploadAttach(MultipartFile file) throws Exception;

           default Boolean createAttach(Attach attach){
               return true;
           }
    public default Boolean batchUpdateBusiness(List<Attach> params){
                return true;
           }

}
